package com.dsg.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Time;
import java.util.Date;

/**
 * <p>
 * 入油数据明细
 * </p>
 *
 * @author system
 * @since 2020-07-06
 */
@Data
@ApiModel(value = "DsgOilDataDetailDto对象", description = "入油数据明细")
public class DsgOilDataDetailDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主鍵")
    private String oid;

    /**
     * 油公司账号
     */
    @ApiModelProperty(value = "ACCT#")
    private String accountNo;

    /**
     * 咭號
     */
    @NotEmpty
    @ApiModelProperty(value = "CARD NUMBER")
    private String cardNo;

    /**
     * 車牌號
     */
    @NotEmpty
    @ApiModelProperty(value = "VEHICLE#")
    private String carNumber;

    /**
     * 交易日期
     */
    @NotEmpty
    @ApiModelProperty(value = "DATE")
    private Date transDate;

    /**
     * 交易時間
     */
    @NotEmpty
    @ApiModelProperty(value = "TIME")
    private Time transTime;

    /**
     * 油的升數
     */
    @NotEmpty
    @ApiModelProperty(value = "QUANTITY")
    private BigDecimal oilLiters;

    /**
     * 油的單價
     */
    @NotEmpty
    @ApiModelProperty(value = "PUMP PR")
    private BigDecimal oilPrice;

    /**
     * 油的總價
     */
    @ApiModelProperty(value = "油的總價")
    private BigDecimal oilValue;

    /**
     * 優惠
     */
    @ApiModelProperty(value = "優惠")
    private BigDecimal discount;

    /**
     * 产品编号
     */
    @NotEmpty
    @ApiModelProperty(value = "PRODUCT")
    private String productNo;

    /**
     * 油站ID
     */
    @NotEmpty
    @ApiModelProperty(value = "LOCATION#")
    private String stationId;

}
